home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000179_news@columbia.edu_Wed Apr 19 14:43:43 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA05709
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 20 Apr 1995 00:55:50 -0400
  3. Received: by apakabar.cc.columbia.edu id AA23725
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 20 Apr 1995 00:55:48 -0400
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: A problem with PREFIX'ed characters
  9. Message-Id: <1995Apr19.204343.48005@cc.usu.edu>
  10. Date: 19 Apr 95 20:43:43 MDT
  11. References: <3n3r18$m3s@pop.btg.com>
  12. Organization: Utah State University
  13. Lines: 49
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3n3r18$m3s@pop.btg.com>, rusty@btg.com (Rusty Haddock) writes:
  17. >    Please let me call the Kermit maintainers' attention to what appears
  18. > to have been a problem for me when using the latest version of MS-DOS
  19. > Kermit with C-Kermit 5A(190) on a Sun.  This problem has to do with the
  20. > differences in which control characters that each version of Kermit can
  21. > set/unset as prefixed.  In C-Kermit, the command "set control unprefix
  22. > all" sets the control characters ASCII 1-31,127-159, and 255 as being
  23. > unprefixed.  Oddly(?) enough the NULL character, ASCII 0, is always listed
  24. > as being prefixed.  That cannot be changed, so it appears.  Hrumph! 
  25. >    Now let's look at the current version of MS-DOS Kermit, v3.14. 
  26. > "set control unprefix all" sets even the NULL character as being
  27. > unprefixed yet the user can not tell Kermit "set control unprefix 127" nor
  28. > "set control unprefix 255" without an error message as one could do in
  29. > C-Kermit. 
  30. >    For me, performing "set control unprefix all" to both C-Kermit and
  31. > MS-DOS Kermit before a *binary* file transfer appears to causing the
  32. > file not to be transferred because of the differences in what each
  33. > version of Kermit considers "all".   Is this something that needs to
  34. > be coordinated between the C-Kermit and MS-DOS Kermit maintainers?
  35. > To me, both versions appear to be incorrect in that if I request all
  36. > characters to be unprefixed, then by golly I should get that for ALL
  37. > 256 characters.  Maybe I've missed something here....
  38. --------------
  39.     Yup. Telnet for one thing. When operating across Telnet one must
  40. send 0xff (255 decimal) as data by sending 255 255; that's the IAC Telnet
  41. escape code. Add parity, as we can do, and that exception includes 127
  42. decimal. Rather than making a special set of code to deal with doubling
  43. only for Telnet, and consequently slowing down transfers, we simply don't
  44. unprefix it. 
  45.     Both 127 and 0 are often treated as padding throwaways by many
  46. systems, so we try to avoid getting into warm water by using them. C
  47. strings and functions applied to them get into all kinds of trouble with 
  48. 0 as data since it's also a string terminator. Thus C Kermit prefers to 
  49. avoid those problems by not using bare 0 as data.
  50.     Both MSK and CK should work just fine with mixed unprefixed
  51. sets, PROVIDED the comms link as a whole tolerates the treatment. The
  52. receivers in both programs are ready to absorb bare control codes from
  53. the other side no matter which codes it sends unprefixed the other way.
  54.     The difference in performance between unprefixing, or not, the very
  55. last possible control code is normally far too small to measure in practice.
  56. Most likely your choice of unprefixing "all" has simply revealed troubles
  57. in the comms pathway, as we strongly warn every time the unprefixing topic
  58. arises. Finding the sensitive codes is up to you since a) we don't know
  59. your equipment, and b) there isn't any foolproof way of finding out on the
  60. fly.
  61.     Joe D.